    <!-- 复核发送 -->
    <div id="SendBox-add" class="ui-dialog-content hide">
        <div style="padding:8px">
            复核用户编码：<input id="usercode" class="easyui-textbox" style="width:110px" data-options="required:true" >&emsp;
            复核用户密码：<input id="userpwd" class="easyui-passwordbox" style="width:110px" data-options="required:true" >&emsp;
            <input id="biaoshi" hidden>
            <a href="#" class="easyui-linkbutton" iconCls="icon-redo" onclick="javascript:pageSendInfo()"><span id="sendClean"></span></a>
        </div>
        <table id="SendMainGrid"></table>
    </div>

    <script type="text/javascript">
        //----------------------- 发送弹窗
        var send_tit, send_url, send_reload = 0;
        function openSendBox() {
            $('#usercode').textbox('setValue', '');
            $('#userpwd').textbox('setValue', '');
            $('#sendClean').text('确认' + send_tit);

            var row = $('#MainGrid').datagrid('getSelections');
            if (row.length == 0) {
                $.messager.alert('提示', '请选择要' + send_tit + '的数据', 'info');
                return;
            }
            $( "#SendBox-add" ).removeClass('hide').dialog({
                title: '&nbsp;' + send_tit,
                iconCls:'icon-add',
                width: 600,
                height: 500,
                modal: true,
                buttons:[{
                    text:'取消',
                    iconCls:'icon-cancel',
                    width:80,
                    plain:false,
                    handler:function(){$('#SendBox-add').dialog('close')}
                }]
            });
            var cols = Array.from($('#MainGrid').datagrid('options').columns[0]);
            cols.splice(0,1);
            // 发送确认数据
            $('#SendMainGrid').datagrid({
                checkbox: false,
                pagination: false,
                fitColumns:false,
                striped: true,
                singleSelect: false,
                data:row,
                loadMsg: "正在加载数据，请稍后...",
                columns: [cols]
            });
        }

        //  ----------------确认发送
        function pageSendInfo() {
            var usercode = $('#usercode').val();
            var userpwd = $('#userpwd').val();
            if(usercode==null||usercode==''){
                $.messager.alert('提示', '请输入用户编码', 'info');
                return;
            }
            if(userpwd==null||userpwd==''){
                $.messager.alert('提示', '请输入用户密码', 'info');
                return;
            }
            var row = $('#SendMainGrid').datagrid('getData');
            var list = [];
            $.each(row.rows,function(index, value) {
                list.push(value.billid)
            });
            $.messager.progress({
               title: '提示',
               msg: '数据处理中，请稍候……',
               text: ''
            });
            $.ajax({
                url: prefix + send_url,
                type: 'POST',
                data: {
                    usercode: usercode,
                    userpwd: userpwd,
                    billids: list.toString()
                },
                dataType: 'json',
                success:function(data){
                    $.messager.alert('提示', data.msg, 'info', function() {
                        if (data.success) {
                            $('#SendBox-add').dialog('close');
                            if (send_reload == 1) searchInfo();
                        }
                        $.messager.progress('close');
                    });
                },
                error : function(XMLHttpRequest, textStatus, errorThrown) {
                    $.messager.alert('提示', '提交失败', 'info');
                    $.messager.progress('close');
                }
            });
        }
	</script>
